.class Lcom/nemustech/regina/ReginaCheckForUpdate$4;
.super Ljava/lang/Object;
.source "ReginaCheckForUpdate.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ReginaCheckForUpdate;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaCheckForUpdate;)V
    .locals 0
    .parameter

    .prologue
    .line 121
    iput-object p1, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .parameter "v"

    .prologue
    .line 125
    new-instance v2, Landroid/app/AlertDialog$Builder;

    iget-object v3, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    invoke-direct {v2, v3}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v3, 0x7f020077

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    const v4, 0x7f07005c

    invoke-virtual {v3, v4}, Lcom/nemustech/regina/ReginaCheckForUpdate;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    invoke-static {v4}, Lcom/nemustech/regina/ReginaCheckForUpdate;->access$000(Lcom/nemustech/regina/ReginaCheckForUpdate;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    const v5, 0x7f070073

    invoke-virtual {v4, v5}, Lcom/nemustech/regina/ReginaCheckForUpdate;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    const v4, 0x7f07005f

    invoke-virtual {v3, v4}, Lcom/nemustech/regina/ReginaCheckForUpdate;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Lcom/nemustech/regina/ReginaCheckForUpdate$4$1;

    invoke-direct {v4, p0}, Lcom/nemustech/regina/ReginaCheckForUpdate$4$1;-><init>(Lcom/nemustech/regina/ReginaCheckForUpdate$4;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/regina/ReginaCheckForUpdate$4;->this$0:Lcom/nemustech/regina/ReginaCheckForUpdate;

    const v4, 0x7f070060

    invoke-virtual {v3, v4}, Lcom/nemustech/regina/ReginaCheckForUpdate;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 156
    .local v1, builder:Landroid/app/AlertDialog$Builder;
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 157
    .local v0, alert:Landroid/app/AlertDialog;
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 158
    return-void
.end method
